﻿@{
    ViewBag.Title = "Index";
    Layout = "../Shared/_Layout.cshtml";
}
<h2>
    Wiki Game</h2>
@using (Html.BeginForm("Index", "GameWindow"))
{ 
    
    @Html.DropDownList("CategoryID", (IEnumerable<SelectListItem>)ViewBag.Categories)  
    
    <input type="submit" value="PLAY" />
}